<?php
/* Smarty version 3.1.30-dev/18, created on 2016-01-13 19:54:27
  from "E:\PHP\APMServ5.2.6\www\htdocs\sql\wengdo_smarty\wengdo\templates\cases.tpl" */

if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.30-dev/18',
  'unifunc' => 'content_56963af35c2f73_39414654',
  'file_dependency' => 
  array (
    '368c804dc98884b112d53648c4e5a41059b269f3' => 
    array (
      0 => 'E:\\PHP\\APMServ5.2.6\\www\\htdocs\\sql\\wengdo_smarty\\wengdo\\templates\\cases.tpl',
      1 => 1452561519,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:user_center_header.tpl' => 1,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_56963af35c2f73_39414654 ($_smarty_tpl) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文豆集团-IT服务企业</title>
    <link rel="stylesheet" href="css/Common.css">
    <link rel="stylesheet" href="css/cases.css">
</head>
<body>
<div class="container">
    <?php if ($_smarty_tpl->tpl_vars['userid']->value == 0) {
$_smarty_tpl->_subTemplateRender("file:header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
} else {
$_smarty_tpl->_subTemplateRender("file:user_center_header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
}?>
    <div class="main">
        <div><img src="../images/cases_banner.jpg" alt=""></div>
        <div class="main_nav">
            <ul>
                <li<?php if ($_smarty_tpl->tpl_vars['cid']->value == 0) {?> style="background: #ffa72b;" <?php }?> ><a href="cases.php">所有分类</a></li>
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['case_type']->value, 'item');
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$__foreach_item_0_saved = $_smarty_tpl->tpl_vars['item'];
?>
                <li <?php if ($_smarty_tpl->tpl_vars['cid']->value == $_smarty_tpl->tpl_vars['item']->value['cid']) {?> style="background: #ffa72b;" <?php }?> >
                    <a href="cases.php?cid=<?php echo $_smarty_tpl->tpl_vars['item']->value['cid'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['cname'];?>
</a>
                </li>
                <?php
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_0_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
            </ul>
        </div>
        <div class="clear"></div>
        <div class="main_cases">
            <ul>
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['cases']->value, 'item');
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$__foreach_item_1_saved = $_smarty_tpl->tpl_vars['item'];
?>
                <li>
                    <a href="cases_defail.php?caseid=<?php echo $_smarty_tpl->tpl_vars['item']->value['caseid'];?>
&cid=<?php echo $_smarty_tpl->tpl_vars['cid']->value;?>
&page=<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
">
                        <img src="<?php echo $_smarty_tpl->tpl_vars['cases_thumb']->value;
echo $_smarty_tpl->tpl_vars['item']->value['thumb'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
">
                    </a>
                    <p><a href="cases_defail.php?caseid=<?php echo $_smarty_tpl->tpl_vars['item']->value['caseid'];?>
&cid=<?php echo $_smarty_tpl->tpl_vars['cid']->value;?>
&page=<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></p>
                </li>
                <?php
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_1_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
            </ul>
        </div>
        <div class="clear"></div>
        <div class="page_num">
            <div class="pages">
                <?php echo $_smarty_tpl->tpl_vars['page_links']->value;?>

            </div>
        </div>
        <?php $_smarty_tpl->_subTemplateRender("file:footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

    </div>
</body>
</html><?php }
}
